import instance from '@/utils/request'

/**
 * @name 获取统计数据
 * @param []
 * @author 郭磊
 * @tiem 2024-3-12 
 */
export function getStatistics(params) {
  return instance.post('/admin/v1/addons/worksystem/dataCount/index', params)
}

/**
 * @name 获取用户列表
 * @param [keyword:String]
 * @author 郭磊
 * @tiem 2024-3-12
 */
export function getUserLists(params) {
  return instance.post('admin/v1/addons/worksystem/user/lists', params)
}


/**
 * @name 获取用户详情
 * @param [u_no:Int]
 * @author 郭磊
 * @tiem 2024-3-12
 */
export function getUserDetails(params) {
  return instance.post('admin/v1/addons/worksystem/user/details', params)
}

/**
 * @name 设置基本信息
 * @param [u_no:Int......]
 * @author 郭磊
 * @tiem 2024-3-12
 */
export function setUserBase(params) {
  return instance.post('admin/v1/addons/worksystem/user/setBase', params)
}

/**
 * @name 设置择偶要求
 * @param [u_no:Int......]
 * @author 郭磊
 * @tiem 2024-3-12
 */
export function setfirendInfo(params) {
  return instance.post('admin/v1/addons/worksystem/user/setInfo', params)
}
